#
#  TestMap.py
#  TurnShip
#
#  Created by Pete Lord on 21/01/2009.
#  Copyright (c) 2009 __MyCompanyName__. All rights reserved.
#
# how friggin cool?
#
import random

class ts():
    def __init__(self, min, max, spe):
        self.min = min #miniumum normal
        self.max = max #max normal
        self.spe = spe #a special tile to stick in here and there, more than one laterz.
        
    def r(self):
        number = random.randint(self.min,self.max)
        if random.randint(0,20) is 0:
            number = self.spe
        return number
    

g = ts(1,2,3)

HEIGHT = 25
WIDTH = 25
DATA = [1 for i in range(HEIGHT * WIDTH)]
